package com.zou.lotterylucky.data

import org.json.JSONObject

class WinningHistory(obj: JSONObject) {
    var regionName = obj["region_name"] as String
    var rank1Digit4 = obj.getDouble("general_prizes_rank1_digit4")
    var rank2Digit4 = obj.getDouble("general_prizes_rank2_digit4")
    var rank3Digit4 = obj.getDouble("general_prizes_rank3_digit4")
    var rank1Digit3 = obj.getDouble("general_prizes_rank1_digit3")
    var rank2Digit3 = obj.getDouble("general_prizes_rank2_digit3")
    var rank3Digit3 = obj.getDouble("general_prizes_rank3_digit3")
    var rank1Digit2 = obj.getDouble("general_prizes_rank1_digit2")
    var rank2Digit2 = obj.getDouble("general_prizes_rank2_digit2")
    var rank3Digit2 = obj.getDouble("general_prizes_rank3_digit2")
    var grandDigit4 = obj.getDouble("grand_prizes_digit4")
    var grandDigit3 = obj.getDouble("grand_prizes_digit3")
    var grandDigit2 = obj.getDouble("grand_prizes_digit2")
    var consolePrize = obj.getDouble("consolation_prizes")
    var totalPrize = obj.getDouble("total_prizes")
}